all:code other

other:other.cpp
	g++ -std=c++11 other.cpp -o other

code:code.c
	gcc -std=c99 $^ -o $@

.PHONY:clean
clean:
	rm -rf code other
